package cn.edu.henu.team.table;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "diagLog")
public class diagLog {

    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "year")
    private int year;

    @Property(nameInDb = "month")
    private int month;
    
    @Property(nameInDb = "createdAt")
    private String createdAt;

    @Property(nameInDb = "content")
    private String content;

    @Property(nameInDb = "objectId")
    private String objectId;

    @Property(nameInDb = "answer")
    private String answer;

    @Generated(hash = 1277491907)
    public diagLog(Long id, int year, int month, String createdAt, String content,
            String objectId, String answer) {
        this.id = id;
        this.year = year;
        this.month = month;
        this.createdAt = createdAt;
        this.content = content;
        this.objectId = objectId;
        this.answer = answer;
    }

    @Generated(hash = 15409887)
    public diagLog() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getYear() {
        return this.year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return this.month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public String getCreatedAt() {
        return this.createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getObjectId() {
        return this.objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getAnswer() {
        return this.answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

}
